import React,{Component} from 'react'

class Demo extends Component {
    constructor(props) {
        super(props);
        this.state = {
           w: 300,
           h: 300,
        };
    }
  componentDidMount() {
      // const objdbConn = new ActiveXObject("ADODB.Connection");
      // const strdsn = "Driver={SQL Server}; Server=(103.85.227.37:6666); Database=Test;UID=root;PWD=China@2018";
      // //   打开数据源
      // objdbConn.Open(strdsn);
  }
  render() {
    return (
      <div className="demo" ref="demo">
          <h1>react</h1>
      </div>
    );
  }
}

export default Demo
